<template>
  <div class="class-now">
    <div class="text-class">当前班级：{{this.addr}}</div>
  </div>
</template>

<script>
import { mapState } from 'vuex'
export default {
  name: 'studentclass',
  computed: {
      ...mapState(['addr'])
  },
}
</script>

<style scoped>
  .class-now{
    overflow: hidden;
    height: .68rem;
    line-height: .68rem;
    background:#eee;
  }
  .text-class{
    position: relative;
    left: .2rem;
    font-size: .32rem;
  }
</style>